Component org.nuxeo.ecm.platform.picture.actions
In bundle org.nuxeo.ecm.platform.picture.jsf
Requirements
Resolution Order
696
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.picture.actions">
<require>org.nuxeo.ecm.platform.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="triggerContentViewSlideshow" order="70"
label="label.contentview.trigger.slideshow" type="template">
<category>CONTENT_VIEW_ACTIONS</category>
<properties>
<property name="template">
/incl/action/content_view_slideshow.xhtml
</property>
</properties>
<filter-id>contentViewShowSlideshow</filter-id>
</action>
<action id="pictureRotate90left" order="100" type="link"
link="#{pictureManager.rotate90left}"
icon="/icons/page_rotateleft.gif" label="action.picture.rotateLeft">
<category>IMAGE_PROCESSING</category>
<filter-id>hasPictureFacet</filter-id>
<filter-id>canRotatePicture</filter-id>
</action>
<action id="pictureRotate90right" order="200" type="link"
link="#{pictureManager.rotate90right}"
icon="/icons/page_rotateright.gif" label="action.picture.rotateRight">
<category>IMAGE_PROCESSING</category>
<filter-id>hasPictureFacet</filter-id>
<filter-id>canRotatePicture</filter-id>
</action>
<action id="recomputePictureViews" enabled="false" order="-100"
link="#{imagingRecomputeActions.recomputePictureViews}"
label="label.imaging.recompute.picture.views" icon="/icons/generate.png">
<category>DOCUMENT_UPPER_ACTION</category>
<filter-id>hasPictureFacet</filter-id>
<filter-id>canRecomputePictureViews</filter-id>
</action>
<action id="Imaging" link="/incl/imaging/imaging_admin_recompute_views.xhtml" label="adm.imaging"
type="admin_rest_document_link"
order="150">
<category>NUXEO_ADMIN</category>
<filter-id>only_for_manager</filter-id>
</action>
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="grantpicturebook">
<rule grant="true">
<type>PictureBook</type>
</rule>
</filter>
<!-- not used since 5.5, keep it for compatibility -->
<filter id="grantpicture">
<rule grant="true">
<type>Picture</type>
</rule>
</filter>
<filter id="create" append="true">
<rule grant="true">
<permission>AddChildren</permission>
<type>PictureBook</type>
</rule>
</filter>
<filter id="importFile" append="true">
<rule grant="true">
<permission>AddChildren</permission>
<type>PictureBook</type>
</rule>
</filter>
<filter id="contentViewShowSlideshow">
<rule grant="true">
<condition>
#{nxu:test(empty showSlideshow,
contentView.currentResultLayout.showSlideshow,
showSlideshow)}
</condition>
</rule>
</filter>
<filter id="canRecomputePictureViews">
<rule grant="true">
<permission>Write</permission>
</rule>
</filter>
<filter id="canRotatePicture">
<rule grant="true">
<permission>Write</permission>
</rule>
</filter>
</extension>
</component>